var postId = '<%= dom_id(@conference) %>';

$('#{0} .member-actions'.format(postId)).html("<%= j render :partial => 'member_links', :locals => {:conference => @conference, :member => @member} %>");
<%
    msg = notice || alert
    msgType = @success ? "notice" : "alert"
%>
$('#{0} .members-count'.format(postId)).html("<%= @members %>");

ShowNotify("<%= msg %>", "<%= msgType %>");